GXFinishJob
QuickDraw GX sends theGXFinishJob
message when the spooling of a document is finished. You can override theGXFinishJob
message to perform operations required by your printing extension or printer driver at the completion of spooling a document. Your override of theGXFinishJob
message must match the following formal declaration:
OSErr MyFinishJob (void);
- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
QuickDraw GX sends theGXFinishJob
message when an application calls theGXFinishJob
function to indicate that spooling of a document is complete.You need to override this message if you want to know when a document has finished spooling or to finalize information when spooling of a document is done.
The default implementation of
GXFinishJob
completes the spooling process by sending spooling messages. It also updates the job object data to contain the correct number of pages that are to be printed. It sends spooling messages to accomplish this.SPECIAL CONSIDERATIONS
You never send theGXFinishJob
message yourself.You must forward the
GXFinishJob
message to other message handlers.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. SEE ALSO
TheGXFinishJob
function is described in Inside Macintosh: QuickDraw GX Printing.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help